getPlaybackTime

abstract fun getPlaybackTime(block: DesignBlock): Double

Get the playback time of the given block. During an export, this returns the time of the playhead and not the time of the exported frame.

Return

the playback time of the block in seconds.

Parameters

block

the block to query.